package com.waterstudio.filedownloader.ext.m3u8;

import com.download.database.TsTask;

import java.util.List;

/**
 * Created by chensuilun on 2019/3/16.
 */
public interface TsDownloadHandler {
    /**
     * @param tsTasks download list
     * @return valid download size
     */
    int prepareDownloadTs(List<TsTask> tsTasks, boolean foreReDownload);

    void startDownload();

    void pause();

}
